﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 用户账户表
    /// </summary>
    public class LoginUserModel
    {
        /// <summary>
        /// 主键用户id
        /// </summary>
        public string User_id { get; set; }

        /// <summary>
        /// 自增id，用于排序
        /// </summary>
        public int AotuId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 用户账号(bs+9位随机数)
        /// </summary>
        public string UserAccount { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPwd { get; set; }

        /// <summary>
        /// 单位id
        /// </summary>
        public string DepartId { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string DepartName { get; set; }

        /// <summary>
        /// 是否为管理员（0为否,1为是）
        /// </summary>
        public char IsManager { get; set; }
        /// <summary>
        /// 微信小程序openid
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 完善补充的用户信息
        /// </summary>
        public string AddUserId { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }
    }
}
